package com.cloud.mall;

import com.didispace.swagger.butler.EnableSwaggerButler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication()
@MapperScan({"com.cloud.mall.ums.mapper", "com.cloud.mall.user.dao"})
@EnableSwaggerButler
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
